package bit;

public class LogicDemo {
	public static void main(String[] args) {
		int a = 1, b = 10;
		for (int i = 0; i < 10; i++) {
			if (0 == i % 2) {
				a++;
			} else {
				a++;
				b--;
			}
		}

	}
}